<?php
/**
 * TOP API: yunos.yoc.router.bindlistener request
 * 
 * @author auto create
 * @since 1.0, 2016.01.21
 */
class YunosYocRouterBindlistenerRequest
{
	/** 
	 * 绑定listener的参数
	 **/
	private $bindListener;
	
	private $apiParas = array();
	
	public function setBindListener($bindListener)
	{
		$this->bindListener = $bindListener;
		$this->apiParas["bindListener"] = $bindListener;
	}

	public function getBindListener()
	{
		return $this->bindListener;
	}

	public function getApiMethodName()
	{
		return "yunos.yoc.router.bindlistener";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->bindListener,"bindListener");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
